import ajax from "./axios.config";

// console.log(ajax);
export const reqHomeApi = () => ajax({ methods: "get", url: "shop/home" });

export const reqLiskApi = (page, size) => {
  return ajax({
    methods: "get",
    url: "shop/home/goods",
    params: {
      page,
      size,
    },
  });
};

// console.log(reqHomeApi);
